/*
 * @Description: 
 * @Author: changqing
 * @Date: 2021-08-30 16:25:01
 * @LastEditTime: 2021-08-30 16:25:01
 * @LastEditors: changqing
 * @Usage: 
 */
var { timer, interval,range } = require('rxjs'); 
var {skip,map} = require('rxjs/operators');

//可以传入一个数字，当订阅开始时，会忽略前N个事件什，直到第N+1事件值才会收到数据

interval(1000).pipe(
  skip(3)
).subscribe(data => {
  console.log(`${data}`)
})
// 3,4,5...